<!DOCTYPE html>
<html>
    <head>
        <title>Documentação Connect Gamer</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
    </head>
    <body>
        <div class="doc">
            <article style="font-size: 18px">Consulta categorias vinculadas a uma noticia</article>
            <br>
            <br>
            <div style="width:400px; color:white; background-color: #005f8d; padding: 10px">
                <code>
                    SELECT b.nome_categoria FROM site_categoria b
                    LEFT JOIN site_categoria_noticia a ON a.id_categoria = b.id_categoria  WHERE a.id_noticia = 1
                </code>
            </div>
        </div>
    </body>
</html>
